part 2. Move the .images, .embeds, .plugins, .forms, .scripts, .applets getters from HTMLDocument to Document. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1415588 gecko-commit: db4db89581e020dfdfa027d38763db76b0070793 gecko-integration-branch: central gecko-reviewers: mystor 
diff --git a/xhr/responsexml-document-properties.htm b/xhr/responsexml-document-properties.htm index f67ea10..93f12b2 100644 --- a/xhr/responsexml-document-properties.htm +++ b/xhr/responsexml-document-properties.htm 
@@ -25,9 +25,7 @@  location:null,  defaultView:null,  body:null, - images: undefined,  doctype:null, - forms:undefined,  all:undefined,  links: undefined,  cookie:'' @@ -94,13 +92,18 @@  assert_equals(client.responseXML.cookie, "")  }, 'cookie (after setting it)')   - test(function() { - assert_equals(typeof(client.responseXML.styleSheets), "object") - }, 'styleSheets') + var objectProps = [ + "styleSheets", + "implementation", + "images", + "forms" + ];   - test(function() { - assert_equals(typeof(client.responseXML.implementation), "object") - }, 'implementation') + for (let prop of objectProps) { + test(function() { + assert_equals(typeof(client.responseXML[prop]), "object") + }, prop + " should be an object") + }  </script>  </body>  </html>